<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta charset="utf-8" />
    <title>{$current['title']}-{$Think.CONFIG.title}</title>
    <meta name="keywords" content="{$Think.CONFIG.keywords}" />
    <meta name="description" content="{$Think.CONFIG.description}" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
    <include file="Public/head" />
	<style>
		.well{
			display: flex;
			-webkit-display: flex;
			align-items: center;
		}
		
		.span_y{
			display:block;
			width: 60px;
			height: 60px;
			background-color: #629b58!important;
			text-align: center;
			line-height: 60px;
			font-size: 25px;
			border-radius: 30px;
			color: #fff;
			filter:alpha(opacity=80);
			-moz-opacity:0.8;
			-khtml-opacity: 0.8;
			opacity: 0.8;
			margin-right: 20px;
		}
		.span_color_yesterday{
			background-color: #ffb752!important;
		}
		.span_color_month{
			background-color: #d09781!important;
		}
		.span_color_total{
			background-color: #abbac3!important;
		}
	</style>
</head>
<body class="no-skin">
<include file="Public/header" />
<div class="main-container" id="main-container">
    <script type="text/javascript">
        try{ace.settings.check('main-container' , 'fixed')}catch(e){}
    </script>
    <include file="Public/sidebar" />
    <div class="main-content">
        <div class="main-content-inner">
            <!-- #section:basics/content.breadcrumbs -->
            <include file="Public/breadcrumbs" />
            <!-- /section:basics/content.breadcrumbs -->
            <div class="page-content">
                <include file="Public/set" />
                <!-- /section:settings.box -->

                <div class="row">
                    <div class="page-content">
						<div class="page-content-area">
							<div class="row">
								<div class="col-xs-12">
									<!-- PAGE CONTENT BEGINS -->

									<!--/span-->
									<!-- left menu ends -->
									<div class="row">
										<!--<div class="col-md-12">
											<div class="well">
												<b>累计分成(不含今日)</b>
												<div class="text-primary" style="font-size:32px;margin:5px 0">
													¥{$data['money']}
												</div>
											</div>
										</div>-->
										<div class="col-md-6">
											<div class="well">
												<div><span class="span_y">今日</span></div>
												<div style="float: none!important;" class="col-md-5">
													<b>充值</b>
													<div class="text-primary" style="font-size:32px;">
														¥{$data['today_money']}
													</div>
												</div>
												<div style="float: none!important;" class="col-md-5">
													<b>分成</b>
													<div class="text-primary" style="font-size:32px;">
														¥{$data['today_income']}
													</div>
												</div>
											</div>
										</div>
										<div class="col-md-6">
											<div class="well">
												<div><span class="span_y span_color_yesterday">昨日</span></div>
												<div style="float: none!important;" class="col-md-5">
													<b>充值</b>
													<div class="text-primary" style="font-size:32px;">
														¥{$data['yesterday_money']}
													</div>
												</div>
												<div style="float: none!important;" class="col-md-5">
													<b>分成</b>
													<div class="text-primary" style="font-size:32px;">
														¥{$data['yesterday_income']}
													</div>
												</div>
											</div>
										</div>
										<div class="col-md-6">
											<div class="well">
												<div><span class="span_y span_color_month">本月</span></div>
												<div style="float: none!important;" class="col-md-5">
													<b>充值(不含今日)</b>
													<div class="text-primary" style="font-size:32px;">
														¥{$data['list'][$today_month]['total_money']}
													</div>
												</div>
												<div style="float: none!important;" class="col-md-5">
													<b>分成(不含今日)</b>
													<div class="text-primary" style="font-size:32px;">
														¥{$data['list'][$today_month]['income']}
													</div>
												</div>
											</div>
										</div>
										<div class="col-md-6">
											<div class="well">
												<div><span class="span_y span_color_total">累计</span></div>
												<div style="float: none!important;" class="col-md-5">
													<b>充值(不含今日)</b>
													<div class="text-primary" style="font-size:32px;">
														¥{$data['total_money']}
													</div>
												</div>
												<div style="float: none!important;" class="col-md-5">
													<b>分成(不含今日)</b>
													<div class="text-primary" style="font-size:32px;">
														¥{$data['money']}
													</div>
												</div>
											</div>
										</div>
										

									</div>
									
									<div class="clearfix">
										<ul class="nav nav-tabs pull-left">
											<li class="active">
												<a>每月账单</a>
											</li>
										</ul>
									</div>
									<div class="row">
										<table class="table table-striped table-bordered table-hover responsive">
											<thead>
											<tr>
												<td>
													日期
												</td>
												<td>充值金额</td>
												<td>
													佣金比例
												</td>
												<td class="text-center">
													代理成本
												</td>
												<td class="text-center">
													分成
												</td>
											</tr>
											</thead>
											<tbody>
												<if condition="$count eq 0">
												<tr>
													<td class="text-center" colspan="100">没有记录</td>
												</tr>
												<else/>
												<volist name="data.list" id="vo">
												<tr>
													<td>{$key}</td>
													<td>￥{$vo.total_money}</td>
													<td>{$vo.proportion}%</td>
													<td>￥{$vo.pay_money}</td>
													<td>￥{$vo.income}</td>
												</tr>
												</volist>
												</if>
											</tbody>
										</table>
									</div>
									<!-- PAGE CONTENT ENDS -->
								</div>
							</div><!-- /.page-content-area -->
						</div>
					</div><!-- /.row -->
				</div><!-- /.page-content -->
			</div>
		</div>
    </div><!-- /.main-content -->
    <include file="Public/footer" />
</div><!-- /.main-container -->
<include file="Public/footerjs" />
<!-- inline scripts related to this page -->

</body>
</html>